#include<bits/stdc++.h>
using namespace std;

int main(){ // P1364 - 数据分析
    //freopen("xxx.in","r",stdin);
    //freopen("xxx.out","w",stdout);
    int n;
    cin >> n;
    int cnt = 0,sum = 0;
    while(n){
        int x = n % 10;
        if(x % 2 == 0){
            sum += x;
        }
        n /= 10;
        cnt++;
    }
    cout << cnt << " " << sum;
    return 0;
}
// P1364 - 【入门】数据分析.
// P1688 - 【入门】有0的数.


